import requests  
print("dasdada")
  
# # 目标URL  
# url = 'https://httpbin.org/get'  
  
# # 发送GET请求  
# response = requests.get(url)  
  
# # 打印响应的文本内容  
# print(response.text)  
  
# # 打印响应的状态码  
# print(response.status_code)  
  
# # 打印响应的URL（对于重定向很有用）  
# print(response.url)  
  
# # 打印响应的头部信息  
# print(response.headers)



# 目标URL  
url = 'http://192.168.28.224:10086/getPolicyFileListNew'  
  
# JSON数据  
json_data = {
    "pageNum":1,
    "pageSize":10,
    "searchExp":""
    }
  
# 发送POST请求，使用json参数传递JSON数据  
response = requests.post(url, json=json_data)  
  
# 打印响应的文本内容  
print(response.text)  
  
# 打印响应的状态码  
print(response.status_code)